<!DOCTYPE html>
<html>
<!-- head -->
{include file="common/page/head"}
<link rel="stylesheet" href="__app__/admin/view/StoreOrder/orderList/orderList.css" />
<body>
<!---------------- 订单列表 ------------------->

<!-- 页头 -->
{include file="common/page/header"}
<!-- 主体 -->
<div class="content container-fluid{if $leftBarScale eq '1'} scale{/if}">
    <div class="row">
        <div class="col-md-2 left-section">
            <!-- 左导航菜单 -->
            {include file="common/page/menu"}

        </div>
        <div class="col-md-10 right-section">
            <!--内容区域-->
            <h3><i class="icon iconfont">{$Think.session.currentMenu.icon}</i>{$Think.session.currentMenu.menuTitle}
                <div class="operation-div">
                	{if $isExport eq 1}
                    <a href="javascript:;" id ='import_btn' class="btn btn-success">导出订单</a>
                	{/if}
                </div>
            </h3>
            <div class="inner-section row">
                <div id="content">
                    <div class="search-param-panel">
                        <form class="search-param-form" id="search-param-form">
                           {if $select eq 1}
                           <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="80">
                                        <label for="ordernum">订单编号:&nbsp;</label>
                                    </td>
                                    <td width="140">
                                        <input id="ordernum" name="ordernum" type="text" class="input-normal search"  />
                                    </td>
                                    <td width="80">
                                        <label for="orderstatus">订单状态:&nbsp;</label>
                                    </td>
                                    <td width="140">
                                        <select id="orderstatus" name="orderstatus" class="select-normal">
                                            <option value="">全部</option>
                                            <option value="0">待付款</option>
                                            <option value="1">待发货</option>
                                            <option value="2">已发货 </option>
                                            <option value="3">已收货 </option>
                                            <option value="4">交易关闭</option>
                                            <option value="5">交易成功</option>
                                            <option value="7">退款完成</option>
                                            <option value="8">已评价</option>
                                        </select>
                                    </td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td width="90">
                                        <label for="phone">手机号:&nbsp;</label>
                                    </td>
                                    <td width="140">
                                        <input id="phone" name="phone" type="text" class="input-normal search"  />
                                    </td>
                                    <td width="80">
                                        <label for="startTime">创建时间:&nbsp;</label>
                                    </td>
                                    <td>
                                        <input id="startTime" name="startTime" type="text" class="input-normal search Wdate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
                                    </td>
                                    <td width="40">
                                        <label for="endTime">至:</label>
                                    </td>
                                    <td  width="140">
                                        <input id="endTime" name="endTime" type="text" class="input-normal search Wdate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
                                    </td>
                                    
                                    <td>
                                        <div class="search-button">
                                            <div class="list-action-area">
                                                <a href="javascript:;" id ='search_btn' class="btn btn-primary btn-sm">查询</a>
                                            </div>
                                        </div>
                                    </td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                {/if}
                            </table>
                        </form>
                    </div>
                    <div class="list-title">
                        <div class="list-title-panel">
                            <span class="glyphicon glyphicon-list"></span>列表</span>
                        </div>
                    </div>
                    <div class="union-operate">
                    	{if $delete eq 1}
                    	<a href="javascript:;" class="btn btn-default btn-sm delete-batch">批量删除</a>
                    	{/if}
                    </div>
                    <div class="table-content" id = "list_container">
                        <table id="list-table" class="list-table table-hover table-bordered" cellspacing="0" cellpadding="0" border="0" width="100%" align="center">
                            <tbody>
                            </tbody>
                        </table>
                    </div>
                    <!--分页信息-->
                    <div id="page-selection"></div>
                    <div class="fn-clear"></div>

                    <!-- 列表底部 -->
                    <div class="list-bottom">
                        <div class="list-bottom-panel">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 页脚 -->
{include file="common/page/footer"}

<!-- jsfiles -->
{include file="common/page/jsfiles"}
<script src="__static__/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="__static__/js/jquery.bootpag/jquery.bootpag.min.js"></script>
<script type="text/javascript" src="__static__/js/sco/sco.tooltip.js"></script>
<script type="text/javascript" src="__app__/admin/view/StoreOrder/orderList/orderList.js"></script>
</body>
</html>
